package edu.suda.xsap.service;

import edu.suda.xsap.dto.MemberCardDto;
import edu.suda.xsap.entity.MemberCard;
import edu.suda.xsap.entity.vo.BIndVo;
import edu.suda.xsap.entity.vo.CardNewVo;
import edu.suda.xsap.entity.vo.CardVo;
import edu.suda.xsap.entity.vo.NewCardVo;

import java.util.List;

public interface MemberCardService {
    void delete(Integer id);
    List<MemberCardDto> findAll();
    MemberCardDto findById(Integer id);

    void save(MemberCard memberCard);
    void update(MemberCard memberCard);
    void bind(BIndVo vo);

    Integer findCount();
    List<CardVo> findByLimit(Integer limit, Integer offset);

    void  save1(NewCardVo vo);

    CardNewVo findId(Integer Id);

}
